<?php
session_start();
error_reporting(0);
if($_SESSION['username']!="")
{
?>
<!DOCTYPE html>
<html lang="en">
 <head>
     <? include "./include/head.php"; ?>
	  <? include "./include/js.php"; ?>
  </head>
  <body>
  <? include "./include/body.php"; 
	 include "./config/connection.php";?>

    
        <div class="span9">
          <div class="hero-unit">
             <div class="row">
                      <?php
	error_reporting(0);$input = $_GET["input"];
					if($input == "invalid")
					{
						echo"<b>Sorry form input not completed, please correct it</b>" ;
					}
					
					 
	?>
	
	 <p class="help-block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LAPORAN TRANSAKSI HARIAN </p>
	<form class="form-horizontal" action="report_view1.php" method="post" target="_blank" enctype="multipart/form-data">
           
                <div class="control-group">
                  <label class="control-label" for="input01">Tanggal*</label>
                    <div class="controls">
                        <input type="text" name="tanggal" size="30">
                        <p class="help-block"></p>
                    </div>
         
                </div>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-danger" type="submit">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Laporan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </button>
           
        </form>
		
		 <p class="help-block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LAPORAN TRANSAKSI BULANAN</p>
	 <form class="form-horizontal" action="report_view.php" method="post" target="_blank" enctype="multipart/form-data">
           
                <div class="control-group">
                  <label class="control-label" for="input01">Tanggal Awal*</label>
                    <div class="controls">
                        <input type="text" name="tgl_awal" size="30">
                        <p class="help-block"></p>
                    </div>
                  <label class="control-label" for="input02">Tanggal Akhir*</label>
                    <div class="controls">
                        <input type="text" name="tgl_akhir">
                        <p class="help-block"></p>
						    
                    </div>
         
                </div>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-danger" type="submit">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Laporan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </button>
           
        </form>
          
			 <p class="help-block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LAPORAN TRANSAKSI TAHUNAN </p>
			 <form class="form-horizontal" action="report_view2.php" method="post" target="_blank" enctype="multipart/form-data">
           
                <div class="control-group">
                  <label class="control-label" for="input01">Tahun Awal*</label>
                    <div class="controls">
                        <input type="text" name="thn_awal" size="30">
                        <p class="help-block"></p>
                    </div>
                  <label class="control-label" for="input02">Tahun Akhir*</label>
                    <div class="controls">
                        <input type="text" name="thn_akhir">
                        
                    </div>
         
                </div>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-danger" type="submit">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Laporan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </button>
           <p class="help-block"></p>
						        * Harus Diisi dengan format YYYY-MM-DD
        </form>
            
          </div>
          
          </div><!--/row-->

         
          </div><!--/row-->
        </div><!--/span-->
      </div><!--/row-->
      </div>

      <hr>

 
 <? include "./include/menubawah.php"; ?>
    <?php
    
    ?>
  </body>
</html>
<?php
    }
else {
    include 'warning.php';
}
?>